﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Core;
using Domain.MainModule.Entities;
using Domain.Core.Specification;


namespace Domain.MainModule.CustomerCompanies
{
    public interface ICustomerCompanyRepository 
        : ICustomRepository<CustomerCompany, User>
    {
        CustomerCompany FindCustomerCompany(ISpecification<CustomerCompany> spec);

        IEnumerable<CustomerCompany> GetPagedCustomerCompanies(int pageIndex, int pageCount);
    }
}
